﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BRMC.IntelligentCommunity.IntelligentCommunity.Parkings
{
public    class UserParkinginfo : FullAuditedEntity<long>, IMustHaveTenant
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserBaseInfoId { set; get; }
        /// <summary>
        /// 车位ID
        /// </summary>
        public long PlaceId { set; get; }
        /// <summary>
        /// 所有停入该车位的车辆
        /// </summary>
        public long? CarId { set; get; }
        /// <summary>
        /// 状态.0.空闲 1再用
        /// </summary>
        public int Satuts { set; get; }
    


        /// <summary>
        /// 小区Id
        /// </summary>
        public int TenantId { get; set; }
        /// <summary>
        /// 小区Id
        /// </summary>
        public long? Neighbourhood_id { get; set; }
        /// <summary>
        /// 小区名称
        /// </summary>
        public string Neighbourhood_name { get; set; }
        /// <summary>
        /// 车场编号
        /// </summary>
        public long ParkingId { set; get; }
        /// <summary>
        /// 车场名称
        /// </summary>
        public string ParkingName { set; get; }
        /// <summary>
        /// 车场编号
        /// </summary>
        public string ParkingCode { set; get; }

        /// <summary>
        /// 车位使用起始日期
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 车位使用结束日期
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
}
